package com.zuipin.vo;

import io.swagger.annotations.ApiModelProperty;

public class EnumVo {
	private String	name;
	private String	value;
	private Integer	index;
	private String	unit;
	
	public EnumVo(String name, String value, Integer index) {
		super();
		this.name = name;
		this.value = value;
		this.index = index;
	}
	
	public EnumVo(String name, String value, Integer index, String unit) {
		super();
		this.name = name;
		this.value = value;
		this.index = index;
		this.unit = unit;
	}
	
	public EnumVo() {
		super();
	}
	
	/*	public EnumVo(String name, String value, Long index) {
			super();
			this.name = name;
			this.value = value;
			this.index = Integer.valueOf(index + "");
		}*/
	
	@ApiModelProperty(value = "名称")
	public String getName() {
		return name;
	}
	
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * @return the value
	 */
	@ApiModelProperty(value = "值")
	public String getValue() {
		return value;
	}
	
	/**
	 * @param value the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}
	
	/**
	 * @return the index
	 */
	@ApiModelProperty(value = "索引")
	public Integer getIndex() {
		return index;
	}
	
	/**
	 * @param index the index to set
	 */
	public void setIndex(Integer index) {
		this.index = index;
	}
	
	/**
	 * @return the unit
	 */
	@ApiModelProperty(value = "单位")
	public String getUnit() {
		return unit;
	}
	
	/**
	 * @param unit the unit to set
	 */
	
	public void setUnit(String unit) {
		this.unit = unit;
	}
	
}
